Type alias: RouterLikeInner<TRoot, TRecord>
RouterLikeInner: <
TRoot
,TRecord
>{ [TKey in keyof TRecord]: TRecord[TKey] extends infer $Value ? $Value extends RouterRecord ? RouterLikeInner<TRoot, $Value> : $Value extends AnyQueryProcedure ? QueryLike<TRoot, $Value> : $Value extends AnyMutationProcedure ? MutationLike<TRoot, $Value> : never : never }
Type parameters
Parameter |
---|
TRoot extends AnyRootTypes |
TRecord extends RouterRecord |
Source
packages/react-query/src/shared/polymorphism/routerLike.ts:18
Generated using TypeDoc and typedoc-plugin-markdown